package cn.com.cifi.mars.mapper.mars;

import cn.com.cifi.mars.bean.dto.MonthTradePlanDto;
import cn.com.cifi.mars.entity.MonthTradePlan;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MonthTradePlanMapper extends BaseMapper<MonthTradePlan> {
    void insertMonthTradePlanData(@Param("list") List<MonthTradePlan> list);
    
    List<MonthTradePlanDto>selectMonthTradePlanList();
    
    List<MonthTradePlanDto>selectByTimeAndStageIdAndProductCode(@Param("time")String time,@Param("stageId")String stageId,
    		@Param("productCode")String productCode);
    
    List<MonthTradePlanDto>selectByTimeAndStageId(@Param("time")String time,@Param("stageId")String stageId);
}
